package com.zzq.service;

import com.zzq.domain.entity.SmilePhoto;
import com.zzq.result.SmileResult;
import com.zzq.domain.dto.SmileAlbumDTO;
import io.swagger.models.auth.In;
import org.springframework.scheduling.annotation.Async;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface AlbumService {


    public SmileResult getUploadId(Long albumId,String filetype);
    public SmileResult addAlbumPhoto(SmileAlbumDTO smileAlbum);

    public SmileResult albumList();

    public SmileResult addOnePhoto(SmilePhoto smilePhoto , Long  albumId);


    public SmileResult uploadPricePhoto(
            MultipartFile file,
            Integer chunkIndex,
            Integer totalChunks,
            Long albumId,
            String uploadId,
            Long photoId,
            String allUrl
            ) throws IOException;
}
